package root.service;


import common.UpgradeEntity;

import java.util.function.Consumer;

public interface DaemonFunctionService {
    void runJar();
    void runMonitorJar(String monitorJarPath, Consumer<String> callback);
    void ping();
    UpgradeEntity checkUpgrade();
    void getLanNeighbor();
    int getMonitorPID();
    void killMonitorProcess();
    boolean isMonitorRunning();
    void sendStringMsg(String message);
    void severPing();
    int getMonitorVersionCode();
    int deleteMonitorJar();
    boolean downloadLastMonitorJar();
    boolean terminate();
}
